<html>
<head>
	<#import "common/common.ftl" as netCommon>
  	<@netCommon.commonStyle />
  	<title>${config.systemTitle}</title>
  	<@netCommon.commonScript />
</head>
<body class="layui-layout-body">
<div class="layui-layout layui-layout-admin">
  <div class="layui-header">
    <div class="layui-logo">${config.systemTitle}</div>
    <!-- 头部区域（可配合layui已有的水平导航） -->
    <ul class="layui-nav layui-layout-left">
      <li class="layui-nav-item"><a menu-url="${request.contextPath}/index" href="javascript:;">首页</a></li>
      <!--
      <li class="layui-nav-item"><a href="">控制台</a></li>
      <li class="layui-nav-item"><a href="">调度中心管理</a></li>
      <li class="layui-nav-item">
        <a href="javascript:;">其它系统</a>
        <dl class="layui-nav-child">
          <dd><a href="">邮件管理</a></dd>
          <dd><a href="">消息管理</a></dd>
          <dd><a href="">授权管理</a></dd>
        </dl>
      </li>
      -->
    </ul>
    <ul class="layui-nav layui-layout-right">
      <li class="layui-nav-item">
        <a href="javascript:;">
        	您好，${user.xm}
        </a>
        <dl class="layui-nav-child">
          <dd><a href="">个人信息</a></dd>
        </dl>
      </li>
      <li class="layui-nav-item"><a href="javascript:;" onclick="logout();">退出</a></li>
    </ul>
  </div>
  <div class="layui-side layui-bg-black">
    <div class="layui-side-scroll">
      <!-- 左侧导航区域（可配合layui已有的垂直导航） -->
      <ul class="layui-nav layui-nav-tree"  lay-filter="test">
        <li class="layui-nav-item layui-nav-itemed">
          <a class="" href="javascript:;">档案</a>
          <dl class="layui-nav-child">
            <dd><a href="javascript:;" menu-url="${request.contextPath}/ryda/toListPage">人员档案管理</a></dd>
          </dl>
        </li>
        <li class="layui-nav-item">
          <a href="javascript:;">档案架（柜）</a>
          <dl class="layui-nav-child">
            <dd><a href="javascript:;" menu-url="${request.contextPath}/wzxx/toListPage">档案架（柜）管理</a></dd>
          </dl>
        </li>
        <li class="layui-nav-item">
          <a href="javascript:;">系统管理</a>
          <dl class="layui-nav-child">
            <dd><a href="javascript:;" menu-url="">用户管理</a></dd>
          </dl>
          <dl class="layui-nav-child">
            <dd><a href="javascript:;" menu-url="${request.contextPath}/zd/toListPage">字典管理</a></dd>
          </dl>
          <!-- 
          <dl class="layui-nav-child">
            <dd><a href="javascript:;" menu-url="${request.contextPath}/license/page">系统授权</a></dd>
          </dl>
           -->
        </li>
      </ul>
    </div>
  </div>
  
  <div class="layui-body" style="overflow: hidden;">
    <!-- 内容主体区域 -->
    <div style="padding: 10px;overflow: hidden;">
    	<iframe class="content-iframe" scrolling="yes" src="${request.contextPath}/index"></iframe>
    </div>
  </div>
  
  <div class="layui-footer">
    <!-- 底部固定区域 -->
    ${config.systemFooterTitle}
  </div>
</div>
<@netCommon.commonLayui />
<script src="${request.contextPath}/static/js/framepage/framepage.js"></script>
<script>
//JavaScript代码区域
layui.use('element', function(){
  var element = layui.element;
});

function logout(){
	layui.use(["layer"], function(){
		layer.confirm('确定要退出系统吗？', function(index){
			window.location.href = "${request.contextPath}/logout";
		});
	})
}
</script>
</body>
</html>